package mware_lib.tcp;

import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;

public class Client extends Connection {

  public Client(String host, int port) throws UnknownHostException, IOException {
    super(new Socket(host,port));
  }

  @Override
  public void close() throws IOException {
    super.close();
    socket.close();
  }
}
